<template>
  <el-col :span="8">
    <el-card shadow="never">
      <el-input placeholder="请输入内容" prefix-icon="el-icon-search" v-model="input2"></el-input>
      <div class="p">
        <b>类别总A：</b>
        <el-button type="text" v-for="item in 9" :key="item">类别</el-button>
        
      </div>
      <div class="p">
        <b>B类别总：</b>
        <el-button type="text" v-for="item in 9" :key="item">类别B哦</el-button>
      </div>
    </el-card>
  </el-col>
</template>

<script>
export default {
  data(){
    return{
      input2:""
    }
  }
};
</script>

<style lang="less" scoped>
.el-col {
  width: 1200px;
  margin: 10px auto;
  display: block;
  .el-input{
    width: 30%;
  }
  .el-button {
    margin-left: 20px;
  }
}
</style>